import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/index/index'
import ChartDetail1 from '../components/chartDetail/chartDetail1'
import ChartDetail2 from '../components/chartDetail/chartDetail2'
import MonthReport from '../components/reports/monthReport'
import LastEightChats from '../components/last/last-eight-chats.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: Index
    },
    {
      path:'/report/monthReport',
      component: MonthReport
    },
    {
      path:'/report/chartDetail1/:queryYear/:areaCode/:costType/:medicalCategory',
      component: ChartDetail1
    },
    {
      path:'/report/chartDetail2/:medicalTypeDetail',
      component: ChartDetail2
    },
    {
      path:'/last/last-eight-chats',
      component: LastEightChats
    }
  ]
})
